import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

import user from "./modules/user.js"

export default new Vuex.Store({
  modules:{
    // 解决多模块命名冲突
    namespaced:true,
    user,
  },
});
